import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {TplManageComponent} from './tpl-manage.component';
import {TplTemplateAddComponent} from "./tpl-template-add/tpl-template-add.component";
import {TplTemplateUpdateComponent} from "./tpl-template-update/tpl-template-update.component";

const routes: Routes = [
  {
    path: '',
    component: TplManageComponent
  },
  {
    path: 'add',
    component: TplTemplateAddComponent
  },
  {
    path: 'update',
    component: TplTemplateUpdateComponent
  },
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class TplManageRoutingModule { }
